import Vue from 'vue'
import App from './App.vue'
import router from './router'
import vant from '@/vant'
import store from '@/store'
import 'amfe-flexible'
import pinyin from 'js-pinyin'
import BaiduMap from 'vue-baidu-map'
import '@/assets/font/iconfont.css'
Vue.config.productionTip = false
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: '16KadtH1H3sUExekFAbcHlqbfpvrTeS9'
})
new Vue({
  // 事件总线
  created () {
    Vue.prototype.$bus = this
  },
  pinyin,
  store,
  vant,
  router,
  render: h => h(App)
}).$mount('#app')
